<template>
    <div class="content-bar">
      <div class="content-bar_item" v-if="!split">
        <slot name="top"> </slot>
      </div>
      <div class="content-bar_item" v-if="!split">

        <slot name="middle"> </slot>
      </div>
      <div class="content-bar_item" v-if="!split">

        <slot name="bottom"> </slot>
      </div>



      <div class="content-bar_item1" v-if="split">
        <slot name="top"> </slot>
      </div>
      <div class="content-bar_item" v-if="split">

        <slot name="middle"> </slot>
      </div>
  
    </div>
  </template>
  
  <script setup lang="ts">
defineProps({
  split: {
    type: Boolean,
    default: false,
  },
 
});
</script>
  
  <style scoped lang="less">
  .content-bar {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    &_item{
      
      width: 100%;
      height: 33%;
    }
    &_item1{
      
      width: 100%;
      height: 66%;
    }
  }
  </style>
  